import axios from 'axios'

export function loadProducts(page) {
  return axios.get('http://api.cat-shop.penkuoer.com/api/v1/products?page='+page,page);
}

export function cartProducts(page,per) {
  return axios.get('http://api.cat-shop.penkuoer.com/api/v1/products?page='+page,{
  perams:{
    page,per
  }
});
}

